//
//  CinemaListTableViewCell.m
//  UI-豆瓣项目APP
//
//  Created by dllo on 15/9/8.
//  Copyright (c) 2015年 孙鹏. All rights reserved.
//

#import "CinemaListTableViewCell.h"

@implementation CinemaListTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        [self createSubView];
    }
    return self;
}
-(void)createSubView{
    UIImageView *background = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"bg_eventlistcell"]];
    background.frame = CGRectMake(10, 15, 355, 160);
    [self addSubview:background];
    [background release];
    
    self.movieName = [[UILabel alloc]initWithFrame:CGRectMake(25, 30, 200, 30)];
    self.movieName.backgroundColor = [UIColor clearColor];
    [self addSubview:self.movieName];
    [_movieName release];
    
    self.movieAddress = [[UILabel alloc]initWithFrame:CGRectMake(25, 70, 300, 100)];
    self.movieAddress.backgroundColor = [UIColor clearColor];
    [self addSubview:self.movieAddress];
    [_movieAddress release];
    
}







- (void)awakeFromNib {
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
